The Greatest Common Divisor: A Case Study for Program Extraction from Classical Proofs
نویسندگان
چکیده
Yiannis Moschovakis suggested the following example of a classical existence proof with a quantifier–free kernel which does not obviously contain an algorithm: the gcd of two natural numbers a1 and a2 is a linear combination of the two. Here we treat that example as a case study for program extraction from classical proofs. We apply H. Friedman’s A– translation [3] followed by a modified realizability interpretation to extract a program from this proof. However, to obtain a reasonable program it is essential to use a refinement of the A–translation introduced in Berger/Schwichtenberg [2, 1]. This refinement makes it possible that not all atoms in the proof are A–translated, but only those with a “critical” relation symbol. In our example only the divisibility relation ·|· will be critical. Let a, b, c, i, j, k, `, m, n, q, r denote natural numbers. Our language is determined by the constants 0, 1, +, ∗, function symbols for the quotient and the remainder denoted by q(a, c) and r(a, c), a 4–ary function denoted by abs(k1a1−k2a2) whose intended meaning is clear from the notation and an auxiliary 5–ary function f which will be defined later. We will express the intended meaning of these function symbols by stating some properties (lemmata) v1, . . . , v6 of them; these will be formulated as we need them.
منابع مشابه
A Jacobi Algorithm and Metric Theory for Greatest Common
Greatest common divisor algorithms are used to provide a natural motivation for considering a class of Jacobi-Perron algorithms which includes the original Jacobi algorithm. This work proves convergence and establishes metric properties for one of these algorithms. The proofs generalize to the larger class of algorithms. Full connections with the calculation of greatest common divisors will be ...
متن کاملOrders at Infinity of Modular Forms with Heegner Divisors
Borcherds described the exponents a(n) in product expansions f = q Q∞ n=1(1−q ) of meromorphic modular forms with a Heegner divisor. His description does not directly give any information about h, the order of vanishing at infinity of f . We give p-adic formulas for h in terms of generalized traces given by sums over the zeroes and poles of f . Specializing to the case of the Hilbert class poly...
متن کاملTorsion Points And
We study the behavior of the greatest common divisor of a k − 1 and b k − 1, where a, b are fixed integers or polynomials, and k varies. In the integer case, we conjecture that when a and b are multiplicatively independent and in addition a− 1 and b − 1 are coprime, then a k − 1 and b k − 1 are coprime infinitely often. In the polynomial case, we prove a strong version of this conjecture. To do...
متن کاملOn the pointfree counterpart of the local definition of classical continuous maps
The familiar classical result that a continuous map from a space $X$ to a space $Y$ can be defined by giving continuous maps $varphi_U: U to Y$ on each member $U$ of an open cover ${mathfrak C}$ of $X$ such that $varphi_Umid U cap V = varphi_V mid U cap V$ for all $U,V in {mathfrak C}$ was recently shown to have an exact analogue in pointfree topology, and the same was done for the familiar cla...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995